package top.pengdong.pictureShare.userAuth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.pengdong.pictureShare.common.model.PageUtils;
import top.pengdong.pictureShare.common.model.R;
import top.pengdong.pictureShare.common.pojo.RegisterUser;
import top.pengdong.pictureShare.userAuth.entity.TUsersEntity;

import java.util.Map;

/**
 * 用户表
 *
 * @author chenshun
 * @email pengshi12138@outlook.com
 * @date 2022-04-18 18:23:15
 */
public interface TUsersService extends IService<TUsersEntity> {

    PageUtils queryPage(Map<String, Object> params);

	R createAccount(RegisterUser registerUser, String ip);

	// 验证激活码
	R activationAccount(String confirmCode, String mail);

	R findUserInfoTweet(Integer type);

	R getMenu(int type);

	void updateByIdWithPassword(TUsersEntity tUsers);
}

